@layout("/common/_container.html"){
<div class="ibox float-e-margins">
	<div class="ibox-content">
		<div class="form-horizontal" id="userInfoForm">
			
			<input type="hidden" id="id" value="${user.id}">
			<input type="hidden" id="sexValue" value="${user.sex}">

			
			<div class="row">
				<div class="col-sm-6 b-r">
					<#input id="serialNumber" name="人员编号" underline="false" value="${user.serialNumber}"/>
					<#input id="citySel" name="部门" underline="true" readonly="readonly" value="${deptName}"
					hidden="deptInfo.id" hiddenValue="${user.deptInfo.id}"
					clickFun="UserInfoDlg.showInfoDeptSelectTree(); return false;"
					style="background-color: #ffffff !important;"
					selectFlag="true" selectId="menuContent" selectTreeId="treeDemo" selectStyle="width:250px !important;"/>

					<#input id="name" name="姓名" underline="true" value="${user.name}"/>
					<#select id="sex" name="性别" underline="true" value="${user.sex}">
					<option value="1">男</option>
					<option value="2">女</option>
				</#select>
				<#input id="birthday" name="出生日期" underline="true"
				value="${user.birthday}"
				clickFun="laydate({istime: false, format: 'YYYY-MM-DD'})"/>

				</div>
				<div class="col-sm-6">
					<div id="driverInfoContent">
						<#input id="account" name="账号" underline="true" value="${user.account}" />
						<#input id="credentialsType" name="证件类型" underline="false" value="${user.credentialsType}" />
						<#input id="credentialsNo" name="证件号码" underline="false"  value="${user.credentialsNo}" />
						<#input id="position" name="职位" underline="false" value="${user.position}" />
						<#input id="entryDate" name="入职日期" underline="true"  value="${user.birthday}" clickFun="laydate({istime: false, format: 'YYYY-MM-DD'})"/>
					</div>
				</div>
			</div>

			<!-- 这是部门选择的下拉框 -->
			<div id="menuContent" class="menuContent"
				style="display: none; position: absolute; z-index: 200;">
				<ul id="treeDemo" class="ztree tree-box" style="width: 249px !important;"></ul>
			</div>

			<div class="row btn-group-m-t">
				<div class="col-sm-10">
					<#button btnCss="info" name="提交" id="ensure" icon="fa-check" clickFun="UserInfoDlg.editSubmit()"/>
					<#button btnCss="danger" name="取消" id="cancel" icon="fa-eraser" clickFun="UserInfoDlg.close()"/>
				</div>
			</div>
		</div>

	</div>
</div>
<script src="${ctxPath}/static/modular/system/user/user_info.js"></script>
@}
